package entity;

import javax.persistence.Entity;

import entity.Equipment.STATE;

@Entity
public class EquipmentScrap extends Event {

	public EquipmentScrap(Equipment equipment) {
		super(equipment);
	}

	@Override
	protected void changeEquipmentState() {
		getEquipment().setState(STATE.EQUIPMENTBAD);
	}
}